package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.SceneCommend;
import cn.wolfcode.trip.base.query.QueryObject;

import java.util.List;

public interface SceneCommendMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SceneCommend record);

    SceneCommend selectByPrimaryKey(Long id);

    List<SceneCommend> selectForList(QueryObject qo);

    int updateByPrimaryKey(SceneCommend record);

    List<SceneCommend> selectCommendByType(Integer type);

    List<SceneCommend> selectAllCommends();

}